",$com); $img1com = $rec['img1com']; $img2com = $rec['img2com']; $img3com = $rec['img3com']; } $sqllist=""; $sqllist.="select * from diet_aim where id = '$id' "; $sqllist.="group by id"; $mqlist = mysql_query($sqllist,$conn); while($rec = mysql_fetch_array($mqlist)){ $Dweight=$rec['Dweight']; $Dwest=$rec['Dwest']; $Dyear=$rec['Dyear']; $Dmonth=$rec['Dmonth']; $Dday=$rec['Dday']; $Dkcal=$rec['Dkcal']; } $sqllist=""; $sqllist.="select * from diet where artnum = '$artnum' "; $sqllist.="group by artnum"; $mqlist = mysql_query($sqllist,$conn); while($rec = mysql_fetch_array($mqlist)){ $DDweight=$rec['DDweight']; $DDwest=$rec['DDwest']; $bf=$rec['bf']; $lc=$rec['lc']; $sp=$rec['sp']; $sn=$rec['sn']; $bfkcal=$rec['bfkcal']; $lckcal=$rec['lckcal']; $spkcal=$rec['spkcal']; $snkcal=$rec['snkcal']; $q1=$rec['q1']; $q2=$rec['q2']; $q3=$rec['q3']; $q4=$rec['q4']; $q5=$rec['q5']; $q6=$rec['q6']; $q7=$rec['q7']; $q8=$rec['q8']; $q9=$rec['q9']; $q10=$rec['q10']; $q11=$rec['q11']; $q12=$rec['q12']; $q13=$rec['q13']; $q14=$rec['q14']; $q15=$rec['q15']; $q16=$rec['q16']; $q17=$rec['q17']; $q18=$rec['q18']; $q19=$rec['q19']; $q20=$rec['q20']; $other=$rec['other']; $okcal=$rec['okcal']; $other = str_replace("\n","
",$other); } $u1 = "${ownerid}/"."${Rdata}/"."image1".".jpg"; $u2 = "${ownerid}/"."${Rdata}/"."image2".".jpg"; $u3 = "${ownerid}/"."${Rdata}/"."image3".".jpg"; $img1flg=""; $img2flg=""; $img3flg=""; if(file_exists("$u1")){ $img1flg=1; $percent=0; //画像サイズ自動変更処理 list($width, $height) = getimagesize("$u1"); if($width > $height){ if($width > 180){ $percent = 180 / $width; } }elseif($width < $height){ if($height > 135){ $percent = 135 / $height; } }else{ if($width > 180){ $percent = 180 / $width; } if($height > 135){ $percent = 135 / $height; } } if($percent > 0){ $new_width1 = $width * $percent; $new_height1 = $height * $percent; }else{ $new_width1 = $width; $new_height1 = $height; } } if(file_exists("$u2")){ $img2flg=1; $percent=0; //画像サイズ自動変更処理 list($width, $height) = getimagesize("$u2"); if($width > $height){ if($width > 180){ $percent = 180 / $width; } }elseif($width < $height){ if($height > 135){ $percent = 135 / $height; } }else{ if($width > 180){ $percent = 180 / $width; } if($height > 135){ $percent = 135 / $height; } } if($percent > 0){ $new_width2 = $width * $percent; $new_height2 = $height * $percent; }else{ $new_width2 = $width; $new_height2 = $height; } } if(file_exists("$u3")){ $img3flg=1; $percent=0; //画像サイズ自動変更処理 list($width, $height) = getimagesize("$u3"); if($width > $height){ if($width > 180){ $percent = 180 / $width; } }elseif($width < $height){ if($height > 135){ $percent = 135 / $height; } }else{ if($width > 180){ $percent = 180 / $width; } if($height > 135){ $percent = 135 / $height; } } if($percent > 0){ $new_width3 = $width * $percent; $new_height3 = $height * $percent; }else{ $new_width3 = $width; $new_height3 = $height; } } if(isset($_POST['Rsubmit'])){//データベース削除処理 $artnum=$_POST['artnum']; $sql=""; $sql.="select * from album where artnum = '$artnum' group by artnum "; $mq = mysql_query($sql,$conn); if($rec = mysql_fetch_array($mq)){ $Rdata = _ss(_hs($rec['date'])); } if(!isset($Rdata)){ if(_S == 1){ header("Location: http://www.jhayashida.co.jp/prime/delmp3.php?id=$id"); }elseif(_S == 0){ header("Location: http://localhost/public/prime/delmp3.php"); } exit; } $u = "${id}/"."${Rdata}"; $u1 = "${id}/"."${Rdata}/"."image1".".jpg"; $u2 = "${id}/"."${Rdata}/"."image2".".jpg"; $u3 = "${id}/"."${Rdata}/"."image3".".jpg"; if(file_exists("$u1")){ unlink("$u1"); } if(file_exists("$u2")){ unlink("$u2"); } if(file_exists("$u3")){ unlink("$u3"); } if(file_exists("$u")){ rmdir("$u"); } $sql = ""; $sql.= "DELETE FROM album WHERE artnum='$artnum'"; mysql_query($sql,$conn); $sql = ""; $sql.= "DELETE FROM diet WHERE artnum='$artnum'"; mysql_query($sql,$conn); mysql_close($conn); if(_S == 1){ header("Location: http://www.jhayashida.co.jp/prime/del_diet_con.php?id=$id"); }elseif(_S == 0){ header("Location: http://localhost/public/prime/delmp2.php"); } exit; } ?> 12){ //月が13以上になったときの処理 $month -=12; $year += 1; } break; case 2 ; $year += 1; break; case 3 ; $year += 10; break; case 4 ; $year += 100; break; } setcookie("year",$year,time()+60*60); setcookie("month",$month,time()+60*60); mb_language("Ja") ; mb_internal_encoding("JIS") ; header('content-type: text/html; charset =' ._CHARSET); ?> マウスだけで簡単に作れる ブログワン

<<    年月    >>
SUN MON TUE WED THU FRI SAT
▼  さんの 秒頃の記事
カテゴリ: テンプレート:
$height){ $x=$width/180; $cwidth = "180"; //変更幅 $cheight = $height/$x; //変更縦 }elseif($width < $height){ $x=$width/135; $cwidth = "135"; //変更幅 $cheight = $height/$x; //変更縦 }else{ $cwidth = "180"; //変更幅 $cheight = "180"; //変更縦 } if($width < 180 and $height < 180){ $cwidth = $width; $cheight = $height; } ?> $height){ $x=$width/180; $cwidth = "180"; //変更幅 $cheight = $height/$x; //変更縦 }elseif($width < $height){ $x=$width/135; $cwidth = "135"; //変更幅 $cheight = $height/$x; //変更縦 }else{ $cwidth = "180"; //変更幅 $cheight = "180"; //変更縦 } if($width < 180 and $height < 180){ $cwidth = $width; $cheight = $height; } ?> $height){ $x=$width/180; $cwidth = "180"; //変更幅 $cheight = $height/$x; //変更縦 }elseif($width < $height){ $x=$width/135; $cwidth = "135"; //変更幅 $cheight = $height/$x; //変更縦 }else{ $cwidth = "180"; //変更幅 $cheight = "180"; //変更縦 } if($width < 180 and $height < 180){ $cwidth = $width; $cheight = $height; } ?>
" border=0 width= height=> " border=0 width= height=> " border=0 width= height=>
▼目標設定▼
体重 Kg
ウェストサイズ cm
期限
一日の摂取カロリー kcal
▼本日の成果▼
体重 Kg
ウェストサイズ cm
▼本日の食事▼
朝食
朝食の摂取カロリー kcal
昼食
昼食の摂取カロリー kcal
夕食
夕食の摂取カロリー kcal
間食
間食の摂取カロリー kcal
▼本日の行動▼

▼本日の総合摂取カロリー(合計摂取カロリー − 合計行動消費カロリー)▼
☆  ☆
この記事へのコメントを拒否する
この日記を削除しますか?。宜しければ、削除ボタンを押してください。
> >